﻿namespace Forms
{
    public class StringTools
    {
        public static string IsolateFileName(string PathAndFileName)
        {
            for (long i = PathAndFileName.Length - 1; i >= 1L; i += -1L)
            {
                if (PathAndFileName.Substring((int) i, 1) == @"\")
                {
                    return PathAndFileName.Substring((int) (i + 1L));
                }
            }
            return "";
        }
    }
}

